package me.peng.test;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class T1 {
    public static void main(String[] args) {
//        String path="http://localhost:8083/avatar/87dbc173f1ad4ee0a7c07fb7c10250fc.jpg";
//        String[] p=path.split("/");
//        System.out.println(p[p.length-1]);

//        StringBuilder stringBuilder =  new StringBuilder();
//        stringBuilder.append("http://localhost:8083/avatar/87dbc173f1ad4ee0a7c07fb7c10250fc.jpg");
//        stringBuilder.append(",");
////        System.out.println(stringBuilder.toString());
//
//        stringBuilder.append("http://localhost:8083/avatar/87dbc173f1ad4ee0a7c07fb7c10250fc.jpg");
//        stringBuilder.append(",");
//
//        String[] builders=stringBuilder.toString().split(",");
//        System.out.println(builders.length);
//        for (String s:builders) {
//            System.out.println(s);
//        }

//        String s="";
//        System.out.println(s.length());

//        String s="11kg";
//        String s1=s.toLowerCase().replace("kg","");
//        System.out.println();
//        int weghtint=Integer.parseInt(s1);
//
//
//        if (weghtint==5){
////            addreadit(20,parentId );
//        }else if (weghtint<5){
////            addreadit(10,parentId );
//        }else{
//            int w=weghtint/5;
////            addreadit(20*w,parentId );
//            System.out.println(20*w);
//        }

//        Date date = new Date();
//        System.out.println(new Timestamp(date.getTime()));
        List<Date> list=new ArrayList<>();
        list.add(new Date());
        list.add(new Date());
        System.out.println(list.size());

    }
}
